package graph.parts;

import graph.Part;
import ogl.vecmathimp.MatrixImp;

public class Camera extends Part {
	private MatrixImp matrix;
	
	public Camera() {
		matrix = (MatrixImp) MatrixImp.identity;
	}
	
	public Camera(MatrixImp m) {
		matrix = m;
	}

	@Override
	public MatrixImp getMatrix() {
		return matrix;
	}

	@Override
	public void setMatrix(MatrixImp m) {
		matrix = m;
	}

	@Override
	public void draw(MatrixImp m) {
		
	}

	@Override
	public MatrixImp findCamera() {
		return (MatrixImp) matrix.invertFull();
	}


	@Override
	public MatrixImp findLight() {
		return null;
	}

}
